#pragma once
#include "basewindow.h"

class CBmpButton :
	public CBaseWindow
{
public:
	CBmpButton(void);
	~CBmpButton(void);

	BOOL CreateEx(
		UINT id,
		int nX, int nY, int cx, int cy,
		UINT idNormal, UINT idHot, UINT idSelected,
		HWND hParent,
		HINSTANCE hInst
	);

	LRESULT WndProcExt(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
	void OnPaint(HDC dc);

	UINT id;
	UINT idCurrent;
	UINT idHot;
	UINT idSelected;
	UINT idNormal;
	TCHAR text[20];

	BOOL mousein;
};